////////////////////////////////////////////////////////////////////////////
//
// Copyright 2018 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////

@import "~realm-studio-styles/variables";

.Dashboard {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;

  &__Heading,
  &__Tutorial,
  &__Separator,
  &__Platforms {
    margin: $spacer;
  }

  &__Tutorial {
    text-align: center;
  }

  &__Separator {
    color: $elephant;

    &::before,
    &::after {
      content: "—";
      margin: 0 $spacer;
    }
  }

  &__PlatformIcons {
    display: flex;
  }

  &__Platform {
    cursor: pointer;
    font-size: 3rem;
    margin: 0 $spacer;

    &__JavascriptLogo,
    &__XamarinLogo {
      height: 2.5rem;
      vertical-align: -5%;
    }
  }

  &__PlatformTip {
    color: $elephant;
    height: 1rem;
    text-align: center;
  }

  &__PlatformOverlay {
    background: $overlay-background;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;

    &__Close {
      color: $white;
      cursor: pointer;
      font-size: 2rem;
      position: absolute;
      right: $spacer;
      top: $spacer;
    }
  }
}
